/*
     三目表达式计算超重问题
*/
#include <stdio.h>
int main() {
    int gender = 0, height = 0, weight = 0;
    printf("请输入性别，身高，体重");
    scanf("%d%d%d",&gender,&height,&weight);
    weight = gender ? weight < height - 105 : weight < height - 110;
    printf("%d\n", weight);
    return 0;
}
